﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="show_root.aspx.cs" Inherits="admin_show_root" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style>
    #a ul{
        list-style-type:none;
    }
    #a li {
        float:left;
        font-family:'微软雅黑';  
        margin: 15px;
    }
        #a li a {
        text-decoration:none;
        padding: 5px;
         border: 3px solid #ccc;
        }
            #a li a:hover {
                color:#f71a3f;
                   
            }
        .auto-style1 {
            width: 388px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div  id="a">
      <ul>
        <li ><a href="add_root.aspx" >添加管理员</a></li>
        <li ><a href="show_root.aspx" >管理员具体信息</a></li>    
      </ul>
    </div>
        <br />
        <br />
        <br />
<table border="1px" cellspacing="0" style="width: 489px">
<tr>
<td bgcolor="#2a637e" class="auto-style1"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 管理员信息</span></td> 
</tr>
    <tr>
        <td class="auto-style1">
      <asp:GridView ID="GridView1" AutoGenerateColumns="false"  OnRowEditing="GridView1_RowEditing"
                        OnRowCancelingEdit="GridView1_RowCancelingEdit"
　　　　　　　　EmptyDataText="No records found" CellPadding="0" CellSpacing="0"  
             Font-Size="11pt"  HeaderStyle-Font-Size="12pt" EditRowStyle-Font-Size="11pt"
        BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
        OnRowDataBound="GridView1_RowDataBound2" runat="server" Width="483px" 
             PageSize="5" AllowPaging="True" AllowSorting="True" 
             OnPageIndexChanging="gridViewPublishers_PageIndexChanging"
             onrowdeleting="GridView1_RowDeleting" OnSelectedIndexChanged="GridView1_SelectedIndexChanged1">
             <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                        <AlternatingRowStyle BackColor="LightGray" />
                        <Columns>                           
                            <asp:BoundField DataField="usr" HeaderText="管理员帐号" ItemStyle-Width="80" ReadOnly="True"/>
                            <asp:BoundField DataField="passwd" HeaderText="密码" ReadOnly="True"  ItemStyle-Width="80"/>
                             <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="edit_root.aspx?ID={0}" DataTextField="lead" HeaderText="管理权限" ItemStyle-Width="80" />

                        
 <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗？')&quot;&gt;删除&lt;/div&gt; " HeaderText="删除" ShowDeleteButton="True" />

 </Columns>
 <RowStyle ForeColor="#8C4510" BackColor="#FFF7E7" />
  <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
  <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
  <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
　</asp:GridView>
            </td>
        </tr>
</table>




    </form>
</body>
</html>
